package com.itheima.d2_Extends_constructor;

public class Cat extends Animal {


    public Cat(){
        super();//默认会调用父类的无参构造器，即使不写也一样
        System.out.println("喵喵~");
    }

    public Cat(String n){
        super();

        System.out.println("这下"+n+"了");
    }
}
